<template>
  <div>
    <CompA />
    <CompB />
    <div v-for="item in category.list" :key="item.objectId">
      {{ item.name }}
    </div>
  </div>
</template>

<script setup lang="ts">
import CompA from "./comp-a.vue";
import CompB from "./comp-b.vue";
import { useCategory } from "../../store/category";
const category = useCategory();
category.categoryAct();
</script>

<style scoped></style>
